<template>
    <div class="css-demo">
        <div class="demo-item">内容</div>
        <div class="demo-item">内容</div>
        <div class="demo-item">内容</div>
        <div class="demo-item">内容</div>
        <div class="demo-item">内容</div>
        <div class="demo-item">内容</div>
        <div class="demo-item">内容</div>
        <div class="demo-item">内容</div>

    </div>
</template>

<script>
    export default {
        name: "css-demo01",
        data() {
            return {}
        },
        methods: {}
    }
</script>

<style lang="scss">

    .css-demo {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;


        .demo-item {
            width: 25%;
            padding-top: 10%;
            padding-bottom: 10%;
            margin: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px dashed #666666;
            border-radius: 20px;


        }
    }

</style>
